<script setup>
import {ref} from "vue";
let status = ref(true)
</script>

<template>
<h2 v-bind:style="{backgroundColor: status?'red':'green' }">Hello, World!</h2>
</template>

<style scoped>

</style>